<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>引入bootstrap表单美化</title>
    <link rel="stylesheet" type="text/css" href="../core/resource/bootstrap3/css/bootstrap.min.css">
    <script type="text/javascript" src="../core/plugins/create_form/tpl/js/form_component.js"></script>
    <script type="text/javascript" language="javascript" src="./resource/jquery/jquery.min.js"></script>

</head>
<body>
<div class="container">
    <div id="example">
    </div>
</div>

<script>
    (function(){

        var obj=JSON.parse('{{data}}');
        var formCom=new FormCom();

        formCom.set_config({style:'bootstrap3'});
        var form= formCom.loadData(obj);
        $('#example').html(form);
        formCom.set_hidden();
    })();

</script>
</body>
</html>